package com.zy.yun.base.common;

import lombok.Data;

import java.util.List;

/**
 * 菜单实体
 *
 * @author Rlax
 *
 */
@Data
public class MenuItem {

    /** 菜单标题 */
    private String text;
    /** 菜单图标 */
    private String icon;
    /** 链接 */
    private String href;
    /** id */
    private Long mark;

    private  int seq;

    private List<MenuItem> subset;

    public MenuItem(String text, String icon, String href, Long mark, int seq) {
        this.text = text;
        this.icon = icon;
        this.href = href;
        this.mark = mark;
        this.seq=seq;
    }

}
